<template>
  <div class="detail">
    <header>

      <strong @click="$back()">
        <el-icon color="#fff"  size="22">
          <Back />
        </el-icon>
       
      </strong>
      <span>{{$t('language.StarDetail.name')}}</span>
    </header>
    <div class="main">
      <NuxtImg src="/img/h6.jpg" alt="" />
      <div class="text">
        <h3>Telegram:https://t.me/worldgaming779_grupo</h3>
        <h3>Facebook:https://www.facebook.com/worldgaming777/</h3>
        <div>
          <p>1. Activity content</p>
          <p>
            New event is online! ! ! Everyone can become a gaming agent! One
            invitation, lifetime profits, endless bonuses. Join as an agent
            and withdraw money immediately.
          </p>
        </div>
        <div>
          <p>2. Participation methods</p>
          <p>Copy your game link - share it with your friends</p>
        </div>
        <div>
          <p>3. Activity details</p>
          <p>
            1. The first-level rebate is 3%, the second-level rebate is 2%,
            and the third-level rebate is 1%. The system automatically settles
            the commission;
          </p>
          <p>
            2. If you have any objections, the consultation results of
            Worldgaming shall prevail; if you forget your member
            account/password, please contact the "official customer service"
            to help you retrieve your account information;
          </p>
          <p>
            3. It is prohibited to register multiple accounts with the same
            IP; it is prohibited to rent accounts, use plug-ins, robots, use
            protocols, loopholes, interfaces, group control or other
            technologies to participate in games; otherwise, the platform has
            the right to prohibit members from logging in without prior
            notice. , suspend the use of this website, confiscate bonuses and
            bonuses obtained abnormally;
          </p>
          <p>
            4. To avoid text differences, Worldgaming reserves the right to
            change, stop or cancel this event at any time.
          </p>
        </div>
      </div>
      <div class="btn">Join Now</div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref, nextTick, shallowRef, onMounted } from "vue";
import { Back } from '@element-plus/icons-vue'
let loading = shallowRef<boolean>(false);
onMounted(() => {
  nextTick(() => {
    // loading.value = false;
    let time = setInterval(() => {
      loading.value = false;
      clearInterval(time);
    }, 500);
  });
});

</script>

<style scoped lang="scss">
.detail {
  width: 100%;
  background-color: rgb(36, 38, 43);
  padding: 0 60px 30px;
  border-radius: 20px;

  header {
    width: 100%;
    @include flex(row,flex-start, center);
    background-color: rgb(36, 39, 43);
    padding: 30px 0 20px 0;
    color: #fff;

    strong {
      width: 40px;
      height: 40px;
      display: block;
      border-radius: 22px;
      border: 2px solid #fff;
      @include flex(column, center, center);
      cursor: pointer;

    }
    span {
      padding-left: 20px;
      font-weight: bold;
      font-size: 20px;
    }

    img {
      width: 28px;
    }
  }

  .main {
    width: 100%;


    overflow-y: scroll;

    &::-webkit-scrollbar {
      width: 0;
      height: 0;
      display: none;
    }

    img {
      width: 100%;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }

    .text {
      width: 100%;
      padding: 40px 20px 0;

      >h3 {
        color: #e60000;
        width: 100%;
        font-size: 16px;
        word-wrap: break-word;
      }

      div {
        color: #b5bac8;
        font-size: 18px;
        margin-top: 20px;
      }
    }

    .btn {
      width: 30%;
      color: #fff;
      margin: 60px auto;
      height: 40px;
      line-height: 40px;
      text-align: center;
      
      background: #0a906c;
      border-radius: 5px;
    }
  }
}
</style>
